include ../../config.mk
CUR_PATH=$(shell /bin/pwd)

SRCS=gtestso.cpp
OBJS=$(SRCS:.cpp=.o)

build:
	$(CXX) $(SRCS) $(INCLUDES) $(LIB_PATH) -lgtest -o libcgtest.so -shared -fPIC
	mkdir -p $(PRJ_LIB_ROOT)
	cp -f libcgtest.so $(PRJ_LIB_ROOT)

clean:
	rm -rf libcgtest.so
	rm -f $(OBJS)
	for pattern in *.info *.gcda *.da *.gcno;\
	do find . -name $$pattern | xargs rm -f;\
	done